package org.yxt.springcloud.service.impl;

import org.springframework.stereotype.Service;
import org.yxt.springcloud.mapper.AccountMapper;
import org.yxt.springcloud.service.AccountService;

import javax.annotation.Resource;
import java.math.BigDecimal;

@Service
public class AccountServiceImpl implements AccountService {

    @Resource
    private AccountMapper accountMapper;

    @Override
    public void updateDetract(long userId, BigDecimal money) {
        accountMapper.updateDetract(userId, money);
    }
}
